package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Expenditure;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface ExpenditureMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Expenditure record);

    Expenditure selectByPrimaryKey(Long id);

    List<Expenditure> selectAll();

    int updateByPrimaryKey(Expenditure record);

    void selectByPrimaryKey();

    int queryForCount(QueryObject qo);

    List<Expenditure> queryForList (QueryObject qo);
}